<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Determines if the current functions return value will be used</title>
 </head>
 <body class="docs"><div id="layout">
  <div id="layout-content"><div id="function.runkit-return-value-used" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">runkit_return_value_used</h1>
  <p class="verinfo">(PECL runkit &gt;= 0.8.0)</p><p class="refpurpose"><span class="refname">runkit_return_value_used</span> &mdash; <span class="dc-title">Determines if the current functions return value will be used</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.runkit-return-value-used-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>runkit_return_value_used</strong></span>
    ( <span class="methodparam">void</span>
   ) : <span class="type">bool</span></div>


 </div>

 <div class="refsect1 returnvalues" id="refsect1-function.runkit-return-value-used-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   Returns <strong><code>TRUE</code></strong> if the function&#039;s return value is used by the calling scope,
   otherwise <strong><code>FALSE</code></strong>
  </p>
 </div>


 <div class="refsect1 examples" id="refsect1-function.runkit-return-value-used-examples">
  <h3 class="title">范例</h3>
  <p class="para">
   <div class="example" id="example-558">
    <p><strong>Example #1 <span class="function"><strong>runkit_return_value_used()</strong></span> example</strong></p>
    <div class="example-contents">
<div class="phpcode"><pre><span style="color: #000000">
<span style="color: #0000BB">&lt;?php<br /></span><span style="color: #007700">function&nbsp;</span><span style="color: #0000BB">foo</span><span style="color: #007700">()&nbsp;{<br />&nbsp;&nbsp;</span><span style="color: #0000BB">var_dump</span><span style="color: #007700">(</span><span style="color: #0000BB">runkit_return_value_used</span><span style="color: #007700">());<br />}<br /><br /></span><span style="color: #0000BB">foo</span><span style="color: #007700">();<br /></span><span style="color: #0000BB">$f&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">foo</span><span style="color: #007700">();<br /></span><span style="color: #0000BB">?&gt;</span>
</span>
</pre></div>
    </div>

    <div class="example-contents"><p>以上例程会输出：</p></div>
    <div class="example-contents screen">
<div class="cdata"><pre>
bool(false)
bool(true)
</pre></div>
    </div>
   </div>
  </p>
 </div>


</div></div></div></body></html>